package com.lzy.cloud.order.remote;

import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description: 会员卡券接口
 * @Author:   gyl
 * @Date:     2018/7/9 17:31
 */
@FeignClient(name = "lzy-cloud-member")
public interface MemberCouponApi {
    /**
     * 根据会员id查询会员卡券
     * @param memberId
     * @return
     */
    @RequestMapping(value = "/member/coupon/find/car/rent/by/member/id/{memberId}", method = RequestMethod.GET)
    Result findCarRentByMemberId(@PathVariable("memberId") Long memberId);

}
